scoreboard players add draw_anim_normal timer 1
execute if score draw_anim_normal timer matches ..30 run execute as @e[tag=SP_N2] at @s run tp @s ~ ~ ~-0.1
execute if score draw_anim_normal timer matches 50 run summon marker 173 8 1 {Tags:["SP_temp_particle","GUI"]}
execute if score draw_anim_normal timer matches 50..90 if score SP_DrawGet System matches 0 run execute as @e[tag=SP_temp_particle,type=marker] at @s run particle dust{color:[1.0f,1.0f,1.0f],scale:1.0} ~ ~ ~ 0 0 0 0.1 5 force @a
execute if score draw_anim_normal timer matches 50..90 if score SP_DrawGet System matches 1 run execute as @e[tag=SP_temp_particle,type=marker] at @s run particle dust{color:[0.8f,0.8f,0.0f],scale:1.0} ~ ~ ~ 0 0 0 0.1 5 force @a
execute if score draw_anim_normal timer matches 90 if score SP_DrawGet System matches 1 run title @a[tag=SP_drawing] title [{"text":"■","color":"gold","bold":true}]
execute if score draw_anim_normal timer matches 90 if score SP_DrawGet System matches 1 run tellraw @a [{"text":"<助手> 恭喜,研究出了传说级别的炸药！","color":"gold"}]
execute if score draw_anim_normal timer matches 50..90 run execute as @e[tag=SP_temp_particle,type=marker] at @s run tp @s ~ ~-0.1 ~
execute if score draw_anim_normal timer matches 90 if score SP_DrawGet System matches 0 run particle sonic_boom 173 6 1 0 0 0 0.1 1 force @a
execute if score draw_anim_normal timer matches 90 if score SP_DrawGet System matches 1 run particle sculk_charge_pop 173 6 1 0 0 0 0.1 200 force @a
execute if score draw_anim_normal timer matches 100 run kill @e[type=marker,tag=SP_temp_particle]
execute if score draw_anim_normal timer matches 100 run kill @e[type=armor_stand,tag=SP_CameraLocked]
execute if score draw_anim_normal timer matches 100 run tp @a[tag=SP_drawing] 21 2 8
execute if score draw_anim_normal timer matches 100 run kill @e[type=villager,tag=SP_N2]
execute if score draw_anim_normal timer matches 100 run gamemode adventure @a[tag=SP_drawing]
execute if score draw_anim_normal timer matches 100 run tag @a[tag=SP_drawing] remove SP_drawing
execute if score draw_anim_normal timer matches 100 run scoreboard players reset Draw_anim_normal animSys
execute if score draw_anim_normal timer matches 100 run scoreboard players reset draw_anim_normal timer
execute if score Draw_anim_normal animSys matches 1 run schedule function dab:drawsystem/anim/sp_anim_normal 2t